    <?php if(is_fang90_server_name()) : ?>
    <style>
    .icon-fang90-logo:before {
    content: "\e901";
    color:#fff;
    }
    .icon-fang90-logo-gray:before {
        content: "\e901";
        color:#666;
    }
    .icon-fang90-logo-notext:before {
        content: "\e902";
        color:#fff;
    }
    .icon-fang90-logo-notext-gray:before {
        content: "\e902";
        color:#666;
    }
    </style>
    <?php endif; ?>
    <nav class='navigator'>
        <div class='wrapper clearfix'>
            <div class='inner'>
                <a class='logo' href='/'><span class="<?php if(is_fang90_server_name() && is_plusfang_server_name()) : ?>udf-icon u-youju<?php elseif (is_fang90_server_name()) : ?>logo-fang90-logo<?php else : ?>logo<?php endif; ?>"></span></a>
            </div>
            <div class="new-city">
                <a id="showcity" href="javascript:;" city-id='<?php if(isset($city)){echo $city->area_id;}else{echo 321;} ?>' >
                <?php if(isset($city)){
                    echo $city->area_name;
                }else{
                    echo '上海';
                } 
                ?>
                </a>
                <div class='contain'>                  
                    <ul class='filter'>
                        <?php
                            if ($cities) :
                            foreach ($cities as $key=>$value) :
                        ?> 
                        <li><?php echo $key;?>
                            <?php  foreach ($value as $k=>$v) :?>
                            <a href='<?php echo $listurl;?><?php echo  $v->code;?>' cityid="<?php echo  $v->area_id;?>" <?php if($city->area_id == $v->area_id){ echo "onclick='return false' style='color:#999;'";} ?> ><?php echo  $v->area_name;?></a>
                            <?php endforeach;?>
                        </li>
                        <?php
                            endforeach;
                            endif; 
                        ?>               
                    </ul>
                </div>
            </div>
            <div class="new-find"><a href="/building/<?php e($city->code); ?>" style="color:#ff5a5f;">新盘</a></div>
            <div class="new-query">
                <input id="search_building" class="search" type="text" placeholder="<?php echo isset($building) ? $building->name : '搜索楼盘名/地址'; ?>" >
                <ul class="search-list" style="display: none;">
                    

                </ul>
            </div>
            <div class='right'>
            <?php if(isset($related_items)): ?>
            	<div class='share-wrap'>
					<a class='share' href='#'> 分享 </a>
	                <div class="share-list">
	                    <a href="javascript:void(0)" class="sina">新浪微博</a>
	                    <a href="javascript:void(0)" class="weixin">微信</a>
	                    <a href="javascript:void(0)" class="qq">QQ空间</a>
	                </div>
            	</div>
            <?php endif; ?>
                <a class='login' href='#'>登录</a>
                <a class='register' href='#'>注册</a>
            </div>
        </div>
    </nav>

